<template>
    <div>
        <ul>
            <li v-for="(item,index) in list" :key=index>
                {{item}}--{{index}}
            </li>
        </ul>
    </div>
</template>

<script>
export default {
    data() {
        return {
            list:['LOL','DNF','Vue','睡觉','回程']
        }
    },
}
</script>

<style scoped>

</style>